{include file="file:$theme_global/admin/_header.tpl"}


<h2 id="pagehead">Edit Entity Type</h2>

{include file="file:$theme_global/_messages.tpl"}
<form method="post" class="adminform" action="/content/entitytype/edit" enctype="multipart/form-data">

<fieldset>
	<legend>Entity Type</legend>
		
		<div class="field">
			<label for="entity_type_id">ID</label>
			<div class="input">
			{if isset($id)}
				<b>{$id}</b>				
			{else}
				<input type="text" value="{$entity_type_id}" name="entity_type_id" id="entity_type_id" />	
			{/if}					
			</div>
		</div>
		
		<div class="field">
			<label for="entity_type_name">Name</label>
			<div class="input">
				<input type="text" value="{$entity_type_name}" name="entity_type_name" id="entity_type_name"  />					
			</div>
		</div>	
		<div class="field">
			<label for="entity_type_description">Description</label>
			<div class="input">
				<textarea type="text" name="entity_type_description" id="entity_type_description">{$entity_type_description}</textarea>					
			</div>
		</div>	
</fieldset>
	{if isset($id)}
	<input type="hidden" name="id" value="{$id}"/>
	{/if}		
	<button type="submit" class="button positive">
		<img src="{$theme_url}/css/bluetrip/img/icons/tick.png" alt=""/>Save
	</button>					

</form>


{include file="file:$theme_global/admin/_footer.tpl"}